#ifndef SWAP_H
#define SWAP_H

#include "types.h" 

void
SWP_Init(void);

void
SWP_Final(void);

void
SWP_GetSize(int *width, int *height);

void
SWP_GetDepth(int *depth);

void
SWP_Clear(void);

void
SWP_Screen(void);

void
SWP_SetPixelColor(int x, int y, unsigned char c);

void
SWP_SetPixelRGB8(int x, int y, unsigned char r, unsigned char g, unsigned char b);

void
SWP_SetPixelRGB16(int x, int y, unsigned char r, unsigned char g, unsigned char b);

void
SWP_SetPixelRGB24(int x, int y, unsigned char r, unsigned char g, unsigned char b);

void
SWP_SetPixelRGB32(int x, int y, unsigned char r, unsigned char g, unsigned char b);

void
SWP_SetPixelRGBA(int x, int y, unsigned char r, unsigned char g, unsigned char b, unsigned char a);

void
SWP_GetPixelRGB8(int x, int y, unsigned char *r, unsigned char *g, unsigned char *b);

void
SWP_GetPixelColor(int x, int y, unsigned char *c);

void
SWP_GetPixelRGB16(int x, int y, unsigned char *r, unsigned char *g, unsigned char *b);

void
SWP_GetPixelRGB24(int x, int y, unsigned char *r, unsigned char *g, unsigned char *b);

void
SWP_GetPixelRGB32(int x, int y, unsigned char *r, unsigned char *g, unsigned char *b);

void
SWP_GetPixelRGBA(int x, int y, unsigned char *r, unsigned char *g, unsigned char *b, unsigned char *a);

void
SWP_SetBoxColor(int x, int y, BOX *box);

void
SWP_SetBoxRGB8(int x, int y, BOX *box);

void
SWP_SetBoxRGB16(int x, int y, BOX *box);

void
SWP_SetBoxRGB24(int x, int y, BOX *box);

void
SWP_SetBoxRGB32(int x, int y, BOX *box);

void
SWP_SetBoxRGBA(int x, int y, BOX *box);

void
SWP_SetImage(char *image);

void
SWP_GetImage(char *image);

#endif
